package org.jeecg.modules.zhongche.plc.service;

import org.jeecg.modules.zhongche.plc.api.PlcDataType;
import org.jeecg.modules.zhongche.plc.model.PLCWriteDTO;

public interface PlcService {

//
//    void wirteSetp(int dbCode, List<Integer> lineList);

    void write(Integer dbCode, String offset, Object value);


    boolean write(Integer dbCode, String offset, PlcDataType type, Object value);

    boolean writeClass(PLCWriteDTO bean);
}
